From: Pascal Nowack Date: Mon, 28 Jan 2019 00:12:56 +0000 (+0100) Subject: dnd: Fix syntax error which led into g-s not starting anymore X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2^2~112 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=582b3aacf4a54299121d49501954ea02f6ed0382;p=gnome-shell.git dnd: Fix syntax error which led into g-s not starting anymore With the recent port to JS6 classes, the trailing comma after functions in the syntax of classes has been removed. However commit c2961f21 accidentally reintroduces one trailing comma after a newly created function, leading into g-s throwing an exception and not starting anymore. Therefore, remove this trailing comma to solve this problem. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/366 --- diff --git a/js/ui/dnd.js b/js/ui/dnd.js index 8bffeb408..07c19202a 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -226,7 +226,7 @@ var _Draggable = class _Draggable { } return false; - }, + } _onEvent(actor, event) { let device = event.get_device();